Current Location: Home> Function Categories> exp

exp

Calculate the index of e
Name:exp
Category:math
Programming Language:php
One-line Description:Returns the value to the x power of E.

Definition and usage

exp() function calculates the exponent of e.

Example

In this example, we will apply the exp() function to different numbers:

 <?php
echo ( exp ( 1 ) ) ;
echo ( exp ( - 1 ) ) ;
echo ( exp ( 5 ) ) ;
echo ( exp ( 10 ) )
?>

Try it yourself

grammar

 exp ( x )
parameter describe
x Required. A number.

illustrate

Returns the x -power value of e. .

Similar Functions
  • Further method to sort ceil

    ceil

    Furthermethodtosort
  • Arctangle of two parameters atan2

    atan2

    Arctangleoftwoparame
  • Cosine cos

    cos

    Cosine
  • Hyperbolic sine sinh

    sinh

    Hyperbolicsine
  • Round the division result intdiv

    intdiv

    Roundthedivisionresu
  • Square root sqrt

    sqrt

    Squareroot
  • Returns the remainder of the floating point number of division fmod

    fmod

    Returnstheremaindero
  • Ancient sine asin

    asin

    Ancientsine
Popular Articles